<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>element风格分页</title>
    <link rel="stylesheet" href="./element-pagination.css">
    <!-- css可以更改样式  -->
</head>

<body>
    <div id="element_pagination" style="margin: 50px 0 0 50px;"></div>
    <script src="./element-pagination.js"></script>
    <script>
        pagination({
            id: 'element_pagination',
            currentPage: 1,
            pageSize: 10,
            total: 100,
            showPage: 9,
            hidePage: true,
            left: "上一页",
            right: "下一页",
            callback: function (e) {
                console.log(e)
            }
        });

    </script>
</body>

</html>